import { Evaluator } from './evaluator.js'
import { parse } from './SyntaxParser.js'


document.getElementById('run').addEventListener('click', () => {
  const val = document.getElementById('source').value
  const r = new Evaluator().evaluate(parse(val))
  console.log(r)
})